Don't use Qt module names in include directives. (#727)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Mon, 4 Oct 2021 17:21:42 +0000 (11:21 -0600)
committerGitHub <noreply@github.com>
Mon, 4 Oct 2021 17:21:42 +0000 (11:21 -0600)
commit37c4083261680ba5b4ee5d9c8ea49028d02bcec5
treed4cf98157da6971e08e113cbf7da35979d3e4adf
parent0f3a8a21224a4ac7f6f0fd76ebbae7555e5a4424
Don't use Qt module names in include directives. (#727)

This simplifies migration to Qt6 where some classes moved.

This was done mostly by an ed script, although mkstyle.sh took some
hand holding.

1,$g/#include <QtCore\// s/<QtCore\/\([^>]*\)>/<\1>       /
1,$g/#include <QtGui\// s/<QtGui\/\([^>]*\)>/<\1>      /
1,$g/#include <QtNetwork\// s/<QtNetwork\/\([^>]*\)>/<\1>          /
1,$g/#include <QtWidgets\// s/<QtWidgets\/\([^>]*\)>/<\1>          /
1,$g/ *$/ s/ *$//
w
q
194 files changed:
arcdist.cc
arcdist.h
bcr.cc
bend.cc
bend.h
cet_util.cc
cet_util.h
coverity_model.cc
csv_util.cc
csv_util.h
defs.h
destinator.cc
dg-100.cc
dg-100.h
discard.cc
discard.h
dmtlog.cc
duplicate.cc
duplicate.h
energympro.cc
energympro.h
enigma.cc
exif.cc
f90g_track.cc
filter_vecs.cc
filter_vecs.h
formspec.cc
formspec.h
garmin.cc
garmin_device_xml.cc
garmin_fit.cc
garmin_fit.h
garmin_fs.cc
garmin_fs.h
garmin_gpi.cc
garmin_tables.cc
garmin_tables.h
garmin_txt.cc
gbfile.cc
gbfile.h
gbser_win.cc
gdb.cc
geo.cc
geojson.cc
geojson.h
ggv_bin.cc
ggv_log.cc
ggv_ovl.cc
globalsat_sport.cc
globalsat_sport.h
glogbook.cc
googledir.cc
gopal.cc
gpx.cc
gpx.h
gtm.cc
gtrnctr.cc
gui/aboutdlg.cc
gui/aboutdlg.h
gui/coretool/coretool.cc
gui/filterdata.cc
gui/filterdata.h
gui/formatload.cc
gui/formatload.h
gui/gpx.h
gui/help.cc
gui/help.h
gui/main.cc
gui/mainwindow.cc
gui/mainwindow.h
gui/processwait.cc
gui/processwait.h
gui/runmachine.cc
gui/runmachine.h
gui/serial_unix.cc
gui/upgrade.cc
gui/upgrade.h
height.h
hiketech.cc
html.cc
humminbird.cc
igc.cc
ignrando.cc
igo8.cc
ik3d.cc
inifile.cc
inifile.h
internal_styles.cc
interpolate.cc
interpolate.h
itracku.cc
jeeps/gpsapp.cc
jeeps/gpsserial.cc
jeeps/gpsusbread.cc
jogmap.cc
jtr.cc
kml.cc
kml.h
lmx.cc
lowranceusr.cc
lowranceusr.h
magellan.h
maggeo.cc
magproto.cc
main.cc
mapasia.cc
mapbar_track.cc
mapfactor.cc
mapsend.cc
mkicondoc.cc
mkshort.cc
mkstyle.sh
mmo.cc
mtk_logger.cc
mynav.cc
mynav.h
navicache.cc
navilink.cc
nmea.cc
nmea.h
nukedata.h
osm.cc
osm.h
ozi.cc
pcx.cc
pocketfms_fp.cc
polygon.cc
polygon.h
position.cc
position.h
qstarz_bl_1000.cc
qstarz_bl_1000.h
radius.cc
radius.h
random.cc
random.h
raymarine.cc
reverse_route.cc
reverse_route.h
route.cc
session.cc
session.h
shape.cc
shape.h
shortname.cc
skytraq.cc
smplrout.cc
smplrout.h
sort.cc
sort.h
src/core/datetime.h
src/core/file.h
src/core/logging.h
src/core/optionaldouble.h
src/core/textstream.cc
src/core/textstream.h
src/core/usasciicodec.cc
src/core/usasciicodec.h
src/core/xmlstreamwriter.cc
src/core/xmlstreamwriter.h
src/core/xmltag.h
src/core/ziparchive.cc
src/core/ziparchive.h
stackfilter.h
stmsdf.cc
stmwpp.cc
subrip.cc
subrip.h
swapdata.h
tef_xml.cc
text.cc
tomtom.cc
tpo.cc
trackfilter.cc
trackfilter.h
transform.cc
transform.h
unicsv.cc
unicsv.h
util.cc
v900.cc
validate.h
vecs.cc
vecs.h
waypt.cc
wfff_xml.cc
xcsv.cc
xcsv.h
xmlgeneric.cc
xmlgeneric.h
xmltag.cc
xol.cc
yahoo.cc
yahoo.h